﻿var app = app || {};
$(function () {
    app.Rates = new Rates();
    app.Rates.fetch();
    $('#modalRatesView').click(function (e) {
        var view = new ModelView();
        view.contentView = new RatesView({
            collection: app.Rates
        });
        view
            .render()
            .$el
            .appendTo('body');
    });
})